if (!this.getItem('frmItem').isValid()) {
    return;
}

var me = this;
var pms = me.getItem('frmItem').getValues();
if (pms.upperLimit === '') {
    pms.upperLimit = null;
}
if (pms.lowerLimit === '') {
    pms.lowerLimit = null;
}
if (pms.targetValue === '') {
    pms.targetValue = null;
}
Ext.Msg.show({
    title: button.getText(),
    msg: T.msg.are_you_sure_to_save_data,
    icon: Ext.Msg.QUESTION,
    buttons: Ext.Msg.YESNO,
    fn: function(btnId) {
        if ('yes' == btnId) {
            button.setDisabled(true);

            YX.ZbusRpc.request({
                module: 'SresSaveMaintainItemsService',
                params: pms,
                showSuccess: true,
                callback: function() {
                    button.setDisabled(false);
                },
                success: function() {
                    me.getItem('frmItem').getForm().reset();
                    me.loadMaintainItemStore();
                }
            })
        }
    }
});